<script type="text/javascript">
    $(function() {
        $.fn.dataGridOptions.formSubFun("#form",'/modules/additional/wineCoupons/doAppend.html',"添加成功！","添加失败！");
    });
</script>
<form id="form"  method="post">
    <div class="popForm sForm">
        <div class="formitm">
            <label class="lab">用户名：</label>
            <div class="ipt"><input type="text" id="userName" name="userName" class="easyui-validatebox validatebox-text" data-options="required: true,validType:'maxLength[16]'"></div>
        </div>
        <div class="formitm">
            <label class="lab">规则：</label>
            <div class="ipt">
                <select name="wineCouponsId" id="module">
                    <#list usablewineCouponsTypeList as item>
                        <option value="${item.id}">${item.name}</option>
                    </#list>
                </select>
            </div>
        </div>
</form>
